<!DOCTYPE html> 
<html lang="en"> 
<head> 
    <meta charset="utf-8"> 
    <meta name="viewport" content="width=device-width, initial-scale=1"> 
    <title>发票管理系统</title> 
    <link href="/static/css/base.css" rel="stylesheet">
    <link href="/static/css/login.css" rel="stylesheet">
    <link rel="stylesheet" href="/static/layui/assets/css/layui.css">
    <link rel="stylesheet" href="/static/layui/assets/css/admin.css">
    <link rel="stylesheet" href="/static/css/reveal.css">
    <link rel="stylesheet" href="/static/css/jquery-ui.css">
</head> 
<body>
	
	<div class="login-hd">
		<div class="left-bg"></div>
		<div class="right-bg"></div>
		<div class="hd-inner">
			<span class="logo"></span>
			<span class="split"></span>
			<span class="sys-name">发票管理</span>
		</div>
	</div> 
	<div class="login-bd">
		<div class="bd-inner">
			<div class="inner-wrap">
				<div class="lg-zone">
					<div class="lg-box">
						<div class="lg-label" ><h4 class="pids">用户登录</h4></div>
						<div data-th-if="${param.error}" class="bg-danger" id="baip">
							<p class="alert alert-error">
				              <i class="iconfont">&#xe62e;</i>
				              <span>用户未经授权或密码输入错误!</span>
				              <a href="#" class="close" data-dismiss="alert" onclick='showhidediv("baip")'>
						        &times;
							  </a>
				            </p>
			            </div>
						
						<form action="login" method="post" id="loginForm">
							<div class="lg-username input-item clearfix">
								<i class="iconfont">&#xe60d;</i>
								<input type="text" name="username" placeholder="账号/邮箱" id="user">
							</div>
							<div class="lg-password input-item clearfix">
								<i class="iconfont">&#xe634;</i>
								<input type="password" name="password" placeholder="请输入密码" id="pswd">
							</div>
							<div class="enter">
								<button type="submit" class="buttona">登录</button>
							</div>
						</form>
							<br>
							<div class="tips clearfix">
								<label title="公共场所慎用"><input type="checkbox"  id="remember">&nbsp;记住账号密码</label>
								<a data-reveal-id="myModal" class="register">立即注册</a>
								<a data-reveal-id="myModal1" class="forget-pwd">忘记密码？</a>
							</div>
					</div>
				</div>
				<div class="lg-poster"></div>
			</div>
			
		</div>
	</div>
	<div class="login-ft">
		<div class="ft-inner">
			<div class="about-us">
				<a href="javascript:;">关于我们</a>
				<a href="javascript:;">法律声明</a>
				<a href="javascript:;">服务条款</a>
				<a href="javascript:;">联系方式</a>
			</div>
			<div class="address">地址：湖北省宜昌市西陵区&nbsp;邮编：443000&nbsp;&nbsp;Copyright&nbsp;©&nbsp;2018&nbsp;EIM-发票管理系统&nbsp;版权所有</div>
			<div class="other-info">建议使用IE8及以上版本浏览器&nbsp;联系电话&nbsp;7630190&nbsp;&nbsp;E-mail：936642284@qq.com</div>
		</div>
	</div>
	
	
	
	
	<div id="myModal" class="reveal-modal">
			
			<h1>注册新的租户管理员</h1>
			<hr>
			<form action="userlogin/add" method="post" id="form">
			<div class="layui-form-item">
				<label class="layui-form-label">邮箱/账号</label>
				<div class="layui-input-inline">
				  <input type="email" name="username1" placeholder="请输入您的电子邮箱" autocomplete="off" oninput="as1(value)" class="layui-input">
				</div>
				<div class="layui-form-mid layui-word-aux" id="tx1" ><span class="layui-icon layui-icon-chat">请填写邮箱号</span></div> 
			</div> 
			
			<div class="layui-form-item">
				<label class="layui-form-label">验证码</label>
				<div class="layui-input-inline">
				  <input type="text" disabled="disabled" name="password2"  placeholder="请输入验证码" autocomplete="off" class="layui-input" id="tx2" oninput="as2(value)">
				</div>
					<button type="button" class="layui-btn layui-btn-radius layui-btn-disabled" onclick="clickme();" disabled="disabled" id="bu1" >获取邮箱</button>
				</div>
				
			
			<div class="layui-form-item displays" style="display:none" >
				<label class="layui-form-label">输入密码</label>
				<div class="layui-input-inline">
					<input type="password"  name="password3" id="asc" placeholder="请输入密码" autocomplete="off" class="layui-input" oninput="xmm(value)">				</div>
				<div class="layui-form-mid layui-word-aux"  id="xmmtext"><font class="layui-icon layui-icon-password"></font>请输入密码</div>
			</div>
			
			<div class="layui-form-item displays" style="display:none" >
				<label class="layui-form-label">确认密码</label>
				<div class="layui-input-inline">
				  <input type="password"  name="password4" placeholder="请重复输入密码" id="asd" autocomplete="off" class="layui-input" oninput="cmm(value)">
				</div>
				<div class="layui-form-mid layui-word-aux"  id="cmmtext"><font class="layui-icon layui-icon-password"></font>请确认密码</div>
			</div>
			
			<div class="layui-form-item displays" style="display:none" >
				<label class="layui-form-label">租户名称</label>
				<div class="layui-input-inline">
				  <input type="text"  name="zhmc" placeholder="租户名称"  autocomplete="off" class="layui-input" onchange="text1(value)">
				</div>
				<div class="layui-form-mid layui-word-aux"  id="cmmtext1"><font class="layui-icon layui-icon-tips"></font>请输入租户名称</div>
			</div>
			
			<div class="layui-form-item displays" style="display:none" >
				<label class="layui-form-label">本人姓名</label>
				<div class="layui-input-inline">
				  <input type="text"  name="name" placeholder="本人姓名"  autocomplete="off" class="layui-input" onchange="text2(value)">
				</div>
				<div class="layui-form-mid layui-word-aux"  id="cmmtext2"><font class="layui-icon layui-icon-tips"></font>请输入本人姓名</div>
			</div>
			
			<div class="layui-form-item displays" style="display:none" > 
				<label class="layui-form-label">联系电话</label>
				<div class="layui-input-inline">
				  <input type="text"  name="number" placeholder="联系电话"  autocomplete="off" class="layui-input" oninput="text3(value)">
				</div>
				<div class="layui-form-mid layui-word-aux"  id="cmmtext3"><font class="layui-icon layui-icon-tips"></font>请输入联系电话</div>
			</div>
			<a class="close-reveal-modal" onclick="remove()">&#215;</a>
			<button type="button" class="layui-btn" id="button1" style="margin-left: 70%;display:none" onclick="add()">注册</button>
			</form>
		</div>
		
		
		
		
		
		
		
		
		
		
		
		
		<div id="myModal1" class="reveal-modal">
		<h1>租户管理员密码找回</h1><hr>
		<form action="userlogin/userpassword" method="post" id="form1">
			<div class="layui-form-item">
				<label class="layui-form-label">邮箱/账号</label>
				<div class="layui-input-inline">
				  <input type="email" id="imail1" name="qqnumber" placeholder="请输入您的电子邮箱" autocomplete="off" oninput="no1(value)" class="layui-input">
				</div>
				<div class="layui-form-mid layui-word-aux" id="text1" ><span class="layui-icon layui-icon-chat">请填写邮箱号</span></div> 
			</div> 
			
			<div class="layui-form-item">
				<label class="layui-form-label">验证码</label>
				<div class="layui-input-inline">
				  <input type="text" disabled="disabled" name="emain"  placeholder="请输入验证码" autocomplete="off" class="layui-input" id="text2" oninput="no2(value)">
				</div>
					<button type="button" class="layui-btn layui-btn-radius layui-btn-disabled" onclick="clickme111();" disabled="disabled" id="butt1" >获取邮箱</button>
				</div>
			
			
			<div class="layui-form-item displays1" style="display:none" >
				<label class="layui-form-label">输入密码</label>
				<div class="layui-input-inline">
					<input type="password"  name="passwor1" id="text3" placeholder="请输入密码" autocomplete="off" class="layui-input" oninput="xmm1(value)">				</div>
				<div class="layui-form-mid layui-word-aux"  id="xmmt"><font class="layui-icon layui-icon-password"></font>请输入密码</div>
			</div>
			
			<div class="layui-form-item displays1" style="display:none" >
				<label class="layui-form-label">确认密码</label>
				<div class="layui-input-inline">
				  <input type="password"  name="passwor2" placeholder="请重复输入密码" id="text4" autocomplete="off" class="layui-input" oninput="cmm1(value)">
				</div>
				<div class="layui-form-mid layui-word-aux"  id="cmmt"><font class="layui-icon layui-icon-password"></font>请确认密码</div>
			</div>
			<a class="close-reveal-modal" onclick="remove()">&#215;</a>
			<button type="button" class="layui-btn" id="but" style="margin-left: 70%;display:none" onclick="add1()">修改密码</button>
			</form>
		</div>
	
	<script type="text/javascript" src="/static/js/index.js"></script>
	<script src="/static/layui/assets/layui.js"></script>
    <script src="/static/layui/index.js" data-main="home"></script>
    <script type="text/javascript" src="/static/js/eim.js"></script>
    <script type="text/javascript" src="/static/js/jquery-1.4.4.min.js"></script>
    <script type="text/javascript" src="/static/js/jquery.reveal.js"></script>
</body> 
<style type="text/css">
body { font-family: "HelveticaNeue","Helvetica-Neue", "Helvetica", "Arial", sans-serif; }
.big-link { display:block;}
</style>
</html>
